package com.baosight.risk.web;

import com.baosight.risk.api.fltd.AuthoTypeService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;


@RestController
@RequestMapping("autho/template")
@Slf4j
public class AuthoTemplateController {

    @Autowired
    private AuthoTypeService authoTypeService;

    @RequestMapping(value = "/test")
    public String test(String templatee) {
        log.info(templatee);
//        return authoTypeService.parse(templatee,null);
        return templatee;
    }
}
